package com.ruoyi.project.reportSystem.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 考勤报表对象 attendance_record
 * 
 * @author wangshuo
 * @date 2020-05-17
 */
public class AttendanceRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 厂站code标识 */
    @Excel(name = "厂站code标识")
    private String stationcode;

    /** 站点名称 */
    @Excel(name = "站点名称")
    private String stationname;

    /** 负责人 */
    @Excel(name = "负责人")
    private String chargeUser;

    /** 所属区域 */
    @Excel(name = "所属区域")
    private String belongArea;

    /** 签到时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "签到时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private String signinTime;

    /** 签退时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "签退时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private String signoutTime;

    /** 现场描述 */
    @Excel(name = "现场描述")
    private String description;

    /** 签到状态 */
    @Excel(name = "签到状态")
    private String instatus;

    /** 签退状态 */
    @Excel(name = "签退状态")
    private String outstatus;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    private List<AttendanceRecordImage> staimgList;

    public List<AttendanceRecordImage> getStaimgList() {
        return staimgList;
    }

    public void setStaimgList(List<AttendanceRecordImage> staimgList) {
        this.staimgList = staimgList;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getSigninTime() {
        return signinTime;
    }

    public void setSigninTime(String signinTime) {
        this.signinTime = signinTime;
    }

    public String getSignoutTime() {
        return signoutTime;
    }

    public void setSignoutTime(String signoutTime) {
        this.signoutTime = signoutTime;
    }

    public String getInstatus() {
        return instatus;
    }

    public void setInstatus(String instatus) {
        this.instatus = instatus;
    }

    public String getOutstatus() {
        return outstatus;
    }

    public void setOutstatus(String outstatus) {
        this.outstatus = outstatus;
    }


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStationcode(String stationcode) 
    {
        this.stationcode = stationcode;
    }

    public String getStationcode() 
    {
        return stationcode;
    }
    public void setStationname(String stationname) 
    {
        this.stationname = stationname;
    }

    public String getStationname() 
    {
        return stationname;
    }
    public void setChargeUser(String chargeUser) 
    {
        this.chargeUser = chargeUser;
    }

    public String getChargeUser() 
    {
        return chargeUser;
    }
    public void setBelongArea(String belongArea) 
    {
        this.belongArea = belongArea;
    }

    public String getBelongArea() 
    {
        return belongArea;
    }



    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stationcode", getStationcode())
            .append("stationname", getStationname())
            .append("chargeUser", getChargeUser())
            .append("belongArea", getBelongArea())
            .append("signinTime", getSigninTime())
            .append("signoutTime", getSignoutTime())
            .append("description", getDescription())
            .toString();
    }
}
